package bhoost.shell;

import android.content.Context;
import android.content.Intent;
import android.content.IntentReceiver;

public class StartupIntentReceiver extends IntentReceiver {

     @Override
     public void onReceiveIntent(Context context, Intent intent) {
          /* Create intent which will finally start the Main-Activity. */
          Intent myStarterIntent = new Intent(context, Test.class);
          /* Set the Launch-Flag to the Intent. */
          myStarterIntent.setLaunchFlags(Intent.NEW_TASK_LAUNCH);
          /* Send the Intent to the OS. */
          context.startActivity(myStarterIntent);
     } 
}
